package com.itheima.ood.polymorphic.demo01;

// Zi类的定义
public class Zi extends Fu {

    // 定义一个成员变量
    int a = 23 ;

    public void method() {
        System.out.println("Zi....method...........");
    }

    public void function(){
        System.out.println("Zi....function.......");
    }

    // 定义了一个静态方法method2
    public static void method2(){
        System.out.println("zi.....method2....static..........");
    }

}
